package com.vehicle.service;

import com.vehicle.domains.bo.QuerySnapshotBo;
import com.vehicle.domains.entity.CameraSnapshotEntity;

import java.util.Date;
import java.util.List;

public interface CameraSnapshotService {

    void storeSnapshotImage(String url, String ip);

    String getLastSnapshot(String cameraIp, Date date);

    List<CameraSnapshotEntity> queryBySnapshotBo(QuerySnapshotBo querySnapshotBo);

    void deleteSnapshot(CameraSnapshotEntity entity);
}
